function getStateUpdate(state, payload) {
    Object.keys(payload).map((item, key) => {
      state[item] = payload[item]
      if (payload[item] === 'object') {
        getStateUpdate(state[item], payload[item])
      }
    })
  }
export default {
    namespaced: true,
    state: {
      headerMenuList:[],
    },
    getters: {
  
    },
    mutations: {
        upDataMut (state, payload) {
            getStateUpdate(state, payload)
        },
    },
    actions: {

    }
}
